diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-12-03 18:39:08 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-12-03 18:39:08 +0900 |
| commit | bf3a801245a0be1d9001ee106e48cbf8b4bc73df (patch) | |
| tree | 2608770bedc66c8cc5baed98306486d7dac6a6d4 /app/[lng]/evcp/(evcp)/(system)/menu-access-dept/page.tsx | |
| parent | 2f02e9ea125c3ec42afac84ec903767930335dd3 (diff) | |
(임수민) 페이지 타이틀과 메뉴명 일치 작업
Diffstat (limited to 'app/[lng]/evcp/(evcp)/(system)/menu-access-dept/page.tsx')
| -rw-r--r-- | app/[lng]/evcp/(evcp)/(system)/menu-access-dept/page.tsx | 22 |
1 files changed, 16 insertions, 6 deletions
diff --git a/app/[lng]/evcp/(evcp)/(system)/menu-access-dept/page.tsx b/app/[lng]/evcp/(evcp)/(system)/menu-access-dept/page.tsx index dfda9172..25c27ada 100644 --- a/app/[lng]/evcp/(evcp)/(system)/menu-access-dept/page.tsx +++ b/app/[lng]/evcp/(evcp)/(system)/menu-access-dept/page.tsx @@ -3,8 +3,16 @@ import { Separator } from "@/components/ui/separator"; import { Shell } from "@/components/shell"; import { DepartmentMenuAccessManager } from "./_components/department-menu-access-manager"; import { getAllDepartmentsTree, getCurrentCompanyInfo } from "@/lib/users/knox-service"; +import { useTranslation } from "@/i18n"; + +interface menuAccessDeptPageProps { + params: Promise<{ lng: string }> +} + +export default async function DepartmentMenuAccessPage({ params }: menuAccessDeptPageProps) { + const { lng } = await params + const { t } = await useTranslation(lng, 'menu') -export default async function DepartmentMenuAccessPage() { // Promise들을 생성하여 클라이언트 컴포넌트에 전달 const departmentsPromise = getAllDepartmentsTree(); const companyInfo = await getCurrentCompanyInfo(); @@ -14,11 +22,13 @@ export default async function DepartmentMenuAccessPage() { <div className="space-y-6"> {/* 헤더 섹션 */} <div className="space-y-2"> - <h1 className="text-2xl font-bold tracking-tight">부서별 메뉴 접근권한 관리</h1> - <p className="text-muted-foreground"> - Knox 조직도를 기반으로 부서별 도메인을 할당하여 메뉴 접근 권한을 관리할 수 있습니다. - 상위 부서를 선택하면 하위 부서들도 자동으로 포함됩니다. - </p> + <h1 className="text-2xl font-bold tracking-tight"> + {t('menu.information_system.menu_access_dept')} + </h1> + {/* <p className="text-muted-foreground"> */} + {/* Knox 조직도를 기반으로 부서별 도메인을 할당하여 메뉴 접근 권한을 관리할 수 있습니다. */} + {/* 상위 부서를 선택하면 하위 부서들도 자동으로 포함됩니다. */} + {/* </p> */} </div> <Separator /> |
